using System;

namespace Monopoly
{
    public class Square
    {
        private int _index;
        private string _name;

        public Square(string name, int i)
        {
            if (i < 0)
                throw new ArgumentException();
            _index = i;
            _name = name;
        }
        
        public int Index
        {
            get { return _index; }
        }

        public string Name
        {
            get { return _name; }
        }
    }
}